import React from 'react'
import { baseImg } from '@/api/config'
import style from './index.module.scss'
import { Button } from 'antd'
export default function NoPage() {
  function toIndex() {
    window.location.href = window.location.origin
  }
  return (
    <div className={style.nopage}>
      <img src={baseImg + 'move.jpg'} alt="" />
      <p>没找到该页面</p>
      <Button type="primary" onClick={toIndex}>
        回到首页
      </Button>
    </div>
  )
}
